body {
  margin: 0;
  background-image: url("/static/assets/splash.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(11, 32, 98, 0.2);
}

.start-section {
  position: absolute;
  right: 60%;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 20;
}

.start-button {
  width: 170px;
  height: 80px;
  border-radius: 20px;
  border-style: solid;
  background-color: rgba(45, 190, 60, 0.8);
  border-width: 4px;
  border-color: rgba(20, 150, 20, 0.5);
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.start-button:hover {
  background-color: rgba(25, 150, 30, 0.7);
}

.load-button {
  width: 170px;
  height: 80px;
  border-radius: 20px;
  border-style: solid;
  background-color: rgba(60, 60, 190, 0.8);
  border-width: 4px;
  border-color: rgba(20, 20, 150, 0.5);
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.load-button:hover {
  background-color: rgba(40, 40, 150, 0.7);
}

.save-button {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  width: 120px;
  height: 50px;
  background-color: rgb(13, 150, 80);
  color: white;
  margin-right: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.save-button:hover {
  background-color: rgb(20, 120, 60);
}

.doc-button {
  width: 170px;
  height: 80px;
  border-radius: 20px;
  border-style: solid;
  background-color: rgba(190, 60, 60, 0.8);
  border-width: 4px;
  border-color: rgba(150, 20, 20, 0.5);
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.doc-button:hover {
  background-color: rgba(150, 40, 40, 0.7);
}

.custom-button {
  width: 170px;
  height: 80px;
  border-radius: 20px;
  border-style: solid;
  background-color: rgba(190, 190, 60, 0.8);
  border-width: 4px;
  border-color: rgba(150, 150, 20, 0.5);
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.custom-button:hover {
  background-color: rgba(150, 150, 40, 0.7);
}

.main-window {
  display: grid;
  grid-template-columns: 1fr 15fr 1fr;
}

.middle-section {
  display: grid;
  grid-template-rows: 1fr 15fr 1fr;
  height: 100vh;
}

.game-window {
  position: relative;
  border-style: none;
  background-image: url("../static/assets/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  grid-template-rows: 1fr 1.75fr 6.5fr;
}

.display-food-div,
.display-turn-div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.display-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.display-food-div,
.display-turn-div {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  width: 120px;
  height: 50px;
}

.display-food-div {
  background-color: rgb(13, 99, 180);
  color: white;
  margin-right: 40px;
}

.display-turn-div {
  background-color: rgb(112, 12, 199);
  color: white;
}

.exit-button {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  width: 120px;
  height: 50px;
  background-color: rgb(180, 13, 13);
  color: white;
  margin-right: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.exit-button:hover {
  background-color: rgb(150, 10, 10);
}

.ant-name {
  color: white;
  font-size: 1px;
  padding-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.ant-cost {
  color: #ffd700;
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.ants-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.ant-btn {
  width: 100%;
  height: 100%;
  background-color: rgba(240, 240, 240, 0.1);
  border: solid;
  border-color: rgba(54, 57, 235, 0.2);
  border-width: 2px;
  cursor: pointer;
  padding: 2px 2px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.game-section {
  display: grid;
  grid-template-columns: 8fr 2fr;
}

.tunnel-grid {
  display: grid;
  border-style: none;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.tile-btn {
  position: relative;
  padding: 4px;
  border: none;
  width: 100%;
  background: transparent;
  cursor: pointer;
}

.tile-img {
  width: 100%;
  height: 100%;
}

.insect-on-tile-img {
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.leaf-on-tile-img {
  position: absolute;
  width: 80%;
  pointer-events: none;
  z-index: 20;
  opacity: 0.95;
  top: 50%; /* not sure if this is helpful, gets overidden in js anyways */
}

.alert {
  position: fixed;
  top: 40%;
  left: 40%;
  width: 300px;
  height: 150px;
  padding: 20px;
  border-radius: 8px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 40px;
}

.beehive {
  z-index: 10;
}

.pause-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 90;
}

.pause-text {
  color: white;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 48px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.restart-button {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  width: 120px;
  height: 50px;
  background-color: rgb(180, 120, 13);
  color: white;
  margin-right: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.restart-button:hover {
  background-color: rgb(150, 100, 10);
}

.exit-button,
.restart-button,
.save-button {
  z-index: 100;
  position: relative;
}

.display-food-div,
.display-turn-div {
  z-index: 80;
  position: relative;
}
